package edu.java.homework.hw08.ipj09.exer01;

public class Test {

    public static void main(String[] args) {
	// test 01
	// Fraction fraction1 = new Fraction(-1, 5, 7);
	// Fraction fraction2 = new Fraction(1, 2, 5);
	// System.out.println(fraction1);
	// System.out.println(fraction2);

	// test 02
	// Fraction fraction1 = new Fraction(-1, 5, 7);
	// Fraction fraction2 = new Fraction(1, 2, 5);
	// Fraction fraction3 = fraction2.add(fraction1);
	// Fraction fraction4 = fraction1.add(fraction2);
	// System.out.println(fraction3);
	// System.out.println(fraction4);

	// test 03
	Fraction fraction1 = new Fraction(-1, 5, 7);
	Fraction fraction2 = new Fraction(1, 2, 5);
	Fraction fraction5 = fraction1.sub(fraction2);
	// System.out.println(fraction5);
	// fraction5 = fraction1.mult(fraction2);
	// System.out.println(fraction5);
	// fraction5= fraction1.div(fraction2);
	// System.out.println(fraction5);

	// fraction5= Fraction.abs(fraction1);
	// System.out.println(fraction5);

	// fraction5 = Fraction.max(fraction1, fraction2);
	// System.out.println(fraction5);
	// fraction5 = Fraction.min(fraction1, fraction2);
	// System.out.println(fraction5);
	// fraction5 = Fraction.pow(fraction1, 3);
	// System.out.println(fraction5);

	// System.out.printf("%.4f%n", Fraction.sqrt(fraction2));
	// System.out.printf("%.4f%n", fraction1.convertToDecimalFraction());
	// System.out.printf("%.4f%n", Fraction.exp(fraction1));
	// System.out.printf("%.4f%n", Fraction.ln(fraction1));

	// System.out.println(fraction1.convertToNaturalNumber());
	// System.out.println(Fraction.nod(18, 27));

	// System.out.println(Fraction.nod(fraction1, fraction2));
	// System.out.println(Fraction.nok(fraction1, fraction2));

	// fraction1.elimination();
	// System.out.println(fraction1);
	// System.out.println(fraction1.isFraction());

    }

}
